package com.ruiysoft.crm.model.entity;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 业绩表
 *
 * @author wxg
 * @date 2019-08-06 23:02:32
 */
@Data
@Accessors(chain = true)
@TableName(value = "bizachievement")
public class Bizachievement extends Model<Bizachievement> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业绩名称
     */
    @TableField(value = "achievementName",exist = true)
    private  String achievementName;
    /**
     * 机构编码
     */
    @TableField(value = "enterprise_id", exist = true)
    private String enterpriseId;

    /**
     * 备注
     */
    @TableField(value = "note",exist = true)
    private  String note;

    /**
     * 业绩所属日期
     */
    @TableField(value = "achievementDate",exist = true)
    private Date achievementdate;
    /**
     * 业绩级别:senior,高级;middle,中级;primary,初级
     */
    @TableField(value = "achievementType",exist = true)
    private String achievementtype;
    /**
     * 日业绩
     */
    @TableField(value = "achievementDay",exist = true)
    private Double achievementday;
    /**
     * 周业绩
     */
    @TableField(value = "achievementWeek",exist = true)
    private Double achievementweek;
    /**
     * 月业绩
     */
    @TableField(value = "achievementMonth",exist = true)
    private Double achievementmonth;
    /**
     * 创建日期
     */
    @TableField(value = "createDate",exist = true)
    private Date createdate;
    /**
     * 创建人ID
     */
    @TableField(value = "createId",exist = true)
    private Integer createid;
    /**
     * 修改时间
     */
    @TableField(value = "modificationDate",exist = true)
    private Date modificationdate;
    /**
     * 修改人ID
     */
    @TableField(value = "modificationId",exist = true)
    private Integer modificationid;

}